#!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
import multiprocessing


def myprint(obj):
    sys.stdout.write(str(obj) + '\n')


class Worker(multiprocessing.Process):

    def run(self):
        myprint('In %s' % self.name)
        return


if __name__ == '__main__':
    jobs = []
    for i in range(5):
        p = Worker()
        jobs.append(p)
        p.start()
    for j in jobs:
        j.join()
